package cn.cnf.service;


import cn.cnf.common.enums.WorkType;
import cn.cnf.entity.Collect;
import cn.cnf.entity.Comic;
import cn.cnf.entity.Novel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 服务接口
 *
 * @author ZhuMeiYi
 * @since 2021-02-16 09:46:41
 * @description 
 */
public interface CollectionService extends IService<Collect> {

    String addCollection(Collect collect);

    String delCollection(String workId, WorkType workType);

    List<Comic> personalComicCollect(Integer current, Integer pageSize);

    List<Novel> personalNovelCollect(Integer current, Integer pageSize);
}
